<?php
/**
 *
 * PHP 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * For full copyright and license information, please see the LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       app.View.Layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */
$cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework');
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Contact Us</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<script type="text/javascript" src="jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="jquery.slidertron-1.1.js"></script>
<script src="js/bootstrap.min.js"></script>
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600|Archivo+Narrow:400,700" rel="stylesheet" type="text/css" />

<?php echo $this->Html->css('default'); ?>
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">

<?php
        echo $this->Html->meta('icon');

        echo $this->fetch('meta');
        echo $this->fetch('css');
        echo $this->fetch('script');
?>
    
</head>
    
<html>
<body>
<div id="wrapper" class="container">
	<div id="header">
		<div id="logo">
			<h1>
                                <?php echo $this->Html->link($this->Html->image('/img/Logo-3.jpg', array('alt' => 'Pretty Little Treasures', 'border' => '0', 'width' => '230')), 'http://www.prettylittletreasures.com.au/', array('target' => '_blank', 'escape' => false));?>
                        </h1>
			<!--<span>Designer Recycle Boutique</a></span>-->
		</div>
	</div>
    
        <!-- extra by An: login/logout/register field -->
        <div id="quicklink">
                <!-- if someone already logged in -->
                <?php if ($logged_in): ?>
                <!-- then display logout only -->
                <ul>
                        <li>Welcome <?php echo $current_customer['username']; ?>. </li>
                        <li><?php echo $this->Html->link(__('Profile'), array('controller' => 'customers', 'action' => 'view', $current_customer['id'])); ?> <?php echo $this->Html->link(__('Logout'), array('controller' => 'customers', 'action' => 'logout')); ?></li>
                </ul>
                <?php else: ?>
                <!-- else don't display logout and display login and register only -->    
                        <?php echo $this->Html->link(__('Register'), array('controller' => 'customers', 'action' => 'add')); ?>
                        <?php echo $this->Html->link(__('Login'), array('controller' => 'customers', 'action' => 'login')); ?>
                <?php endif; ?>
        </div>
        <!-- end of extra -->
        
        <!-- extra by An: Search bar -->
        <div id="search" class="search" style="text-align: right;">
                <?php 
                    echo $this->Form->create('Customer',array('action' => 'search'));
                    echo $this->Form->input('keyword', array('label' => 'Search for'));
                    echo $this->Form->end('Search');
                ?> 
        </div>
        <!-- end of extra -->
            
            
        <div id="menu">
                <ul>
                        <li><a href="/CakePHP/pages/home">Home</a></li>
                        <li><a href="/CakePHP/pages/aboutus">About Us</a></li>
                        <li><a href="/CakePHP/items">Shop Online</a></li>
                        <li> <a href="consignment.html" accesskey="4" title="">Consignment Policy</a></li>
                        <li><a href="contactus.html" accesskey="5" title="">Contact Us</a></li>
                </ul>
        </div>
        
        <div id="content" class="content">
                <div id="main">
                        <?php echo $this->Session->flash(); ?>
                        <!-- extra by An -->
                        <?php echo $this->Session->flash('Auth'); ?>
                        <!-- end of extra -->
                        <?php echo $this->fetch('content'); ?>
                </div>
        </div>
</div>    
</body>
    
<div id="footer" class="footer">
        <?php echo $this->element('sql_dump'); ?>
</div>
    
</html>


